package org.zoomdev.zoom.dao.ddl;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

// 列注解
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface _DDL_Column {
    String name();

    SqlType type();

    int size() default 0;

    int scale() default 0;

    boolean nullable() default true;

    boolean autoIncrement() default false;

    String comment() default "";

    String defaultValue() default "";

    String defaultFunction() default "";
}
